import request from '@/utils/request'

// 收入明细列表
export function getBackUserFinanceList (params) {
  return request({
    params,
    url: '/back/finance/getBackUserFinanceList'
  })
}

export function getBackAgentFinanceList (params) {
  return request({
    params,
    url: '/back/financeAgent/getBackAgentFinanceList'
  })
}


export function getEquipmentEarningsList (params) {
  return request({
    params,
    url: '/back/index/getEquipmentEarningsList'
  })
}

// 退款审核列表
export function refundList (data) {
  return request({
    method: 'post',
     data,
    url: '/back/users/refundList'
  })
}

// 点击审核
export function refundReview (data) {
  return request({
    method: 'post',
    data,
    url: '/back/users/refundReview'
  })
}